﻿@model XPressify.Models.PageMembersModel
@using Omu.Awesome.Core;
@using Omu.Awesome.Mvc.Helpers;

@{
    ViewBag.Title = "Page members";
}

<table>
    @foreach (var member in Model.Members)
    {
        <tr>
            <td style="width:50px">
                <a href='@Url.Action("ProfileView", "Profile", new { id = member.Id })' class="nobtn">
                    <img src= "@member.ProfilePicturePath" alt="Profile picture" title="Profile picture" style="width: 50px;height: 50px;" />
                </a>
            </td>
            <td>
                @Html.ActionLink(member.FullName, "ProfileView", "Profile", new { id = member.Id }, new {@class = "nobtn" })
            </td>
        </tr>
    }
</table>
